<!DOCTYPE html>
<svg id="svg" width="20" height="20" overflow="visible">
  <symbol viewBox="0 0 1000000 1000000" id="huge-symbol">
    <path d="M0 0 L1000000 0 L1000000 1000000 L0 1000000 L0 0"></path>
  </symbol>
  <use xlink:href="#huge-symbol"/>
</svg>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
  svg.setAttribute('width', 25);
  svg.setAttribute('height', 25);
}
onload = runRepaintAndPixelTest;
</script>
